<?php
return array(
	'defaultScope' => array(
		'condition' => "type = 'zjy_forum'",
	),
	'cascade' => array(
		'profile',
	),
	'relations' => array(
		'profile' => array(CActiveRecord::HAS_ONE, 'AdForumProfile','object_id')
	),
	'_import' => array(
		array('*', 'models.Ad//*'),
	),
);